<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

        <button>开始</button>
        <button>暂停</button>
       <div style='width: 100px;height: 100px;background-color: hotpink;position: absolute;left:100px;top:100px'></div>
    
</body>
</html>
<script>
//获得按钮对象的集合
let btnList = document.querySelectorAll('button');
//获得div节点
let divObj = document.querySelector('div');


 


</script>